• Articles
  • Api Documentation
Show / Hide Table of Contents
  • DiplomaTT
    • App
    • DialogCloseRequestedEventArgs
    • DialogService
    • IDialog
    • IDialogRequestClose
    • IDialogService
    • MainWindow
  • DiplomaTT.DB
    • DataProvider
    • IDataProvider
    • Person
    • PersonEntities
    • Token
  • ImageDemo
    • App
    • MainWindow
  • ImageDemo.Viewmodels
    • DetectedFace
    • MainWindowViewModel
    • PersonMatchResult
  • PersonManager
    • App
  • PersonManager.ViewModels
    • EnrollPhotoViewModel
    • MainWindowViewModel
    • PersonalDataVisual
    • PersonDetailViewModel
    • PersonDetailViewModel.DetailDialogMode
  • PersonManager.Views
    • EnrollPhoto
    • MainWindow
    • PersonDetail
  • TestApp
    • App
    • MainWindow
  • TestApp.Views
    • ResultDialog

Class DialogService

Inheritance
System.Object
DialogService
Implements
IDialogService
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: DiplomaTT
Assembly: DiplomaTT.dll
Syntax
public class DialogService : IDialogService

Constructors

DialogService(Window)

Declaration
public DialogService(Window owner)
Parameters
Type Name Description
System.Windows.Window owner

Properties

Mappings

Declaration
public IDictionary<Type, Type> Mappings { get; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.Type, System.Type>

Methods

Register<TViewModel, TView>()

Declaration
public void Register<TViewModel, TView>()
    where TViewModel : IDialogRequestClose where TView : IDialog
Type Parameters
Name Description
TViewModel
TView

ShowDialog<TViewModel>(TViewModel)

Declaration
public bool? ShowDialog<TViewModel>(TViewModel viewModel)
    where TViewModel : IDialogRequestClose
Parameters
Type Name Description
TViewModel viewModel
Returns
Type Description
System.Nullable<System.Boolean>
Type Parameters
Name Description
TViewModel

Implements

IDialogService
Back to top Generated by DocFX